in reply to File Parsing

Do you expect us to do your homework for you? Do you really think this would be doing you a favor?

This is a really easy problem. A couple of hours at reading a good tutorial, such as the ones suggested above, should be enough to get you going. Please ask again once you have written the basic code if there is something that still does not work quite right or don't know how to do. We'd be glad to help you at this point.