for huge samples. Also, change the file search order so that .gz is checked before the requested file.