What have you tried to solve the problem and where did you go wrong? Can you even read the files? What data structures would you expect to use? How would you get the data from the file to the data structure?
My criteria for good software:
Does it work?
Can someone else come in, make a change, and be reasonably certain no bugs were introduced?