code for reading fasta files and loader config files