Added code to traverse the fasta data.