I think he only wanted the lines between the group and data lines. Your version prints out those lines.
In reply to Re: Re: File Parsing by pfaut in thread File Parsing by Anonymous Monk