Allows a single file to run and output by default in overwrite mode.

Adds a final else to make sure that an error is thrown if something goes wrong.
Merge pull request #163 from willmwade/single_file_run

Allows a single file to run and output by default in overwrite mode.