Reverse Words

A program which reverses the words in an input sentence. Solution to CodeEval challenge.
INPUT: The first argument is a file that contains multiple sentences, one per line.