Okay, so I'll start off by telling you what I am trying to do.
I have a text file that has words on each line. E.g.


this
is
a
test
forMyProgram