to return undef when reaching file end

otherwise while(next_aln) loops forever.