How would I begin to write a function that reads a data file (text) in and split it up into separate words?