Thanks for the great replys. I am afraid the idea was a bit skewed, though, and instead of example.txt being part of the separation data, I will be reading from example.txt then separating the rest of the data.
This is indeed both a learning experience and a problem I came across writing a solution for a task that needs to be done, but I feel like if these could read from a file and split the data they should be golden!
Could the revisions be made to suite reading from a file?
Thanks so much!