fixing error for taxon file-name detection

fixing error for taxon file-name detection