Accepts text files as input now.

Updated to accept text file as input to avoid the argument length limit
imposed by the windows command line.