rewrite subroutine FastaReader