taking sections out of a file and put it in an array should point you in the right direction.
In reply to Re: File Parsing by cjf-II in thread File Parsing by Anonymous Monk