Added support for getting a random word from a file