simplified the fasta parser