Added frees in the loop where we read the FASTA target sequences