Added support for reference fasta files.