Changed operation to take in a file of words as an argument and output a random item