There are plenty of examples on these forums, search for "fopen parse fgets" and you'll likely find exactly what you need. This is the suggestions/requests section, do you need something written, or are you asking for help with scripting? If you need help, this should be posted in scripting help.