in reply to Generic output file

Consider how you would do it manually, and then get started working on an automated implementation that follows similar steps. Once you've gotten a good start on it, you can post sample input, sample output, and real code. At that point when or if you get stuck, your question will have the benefit of some code we can look at and help you with.

When you do post real code, be sure to follow Writeup Formatting Tips.


Dave