Problem with a maf parser

Hi, i need to restart a MAF parser
( after reaching
end of file. The parser is here I need to
record position of first block and seek back to it after returning EOF,
but i have problems in finding where in the code i have to do it. It’s
this issue
Thanks in advance for help

The Multiple Alignment Format, described by UCSC, stores a series of
multiple alignments in a single file. Suitable for whole-genome to
whole-genome alignments, metadata such as source chromosome, start
position, size, and strand can be stored.