added yieldFastaRecord function