fixing error for taxon file-name detection