in reply to Require script to parse text file

As far as I can see, you haven't asked a question. Please feel free to post the code you've written, and to ask for help with whatever problems you encounter.