Add command line options
Refactor into a class and some functions
Refactoring
Handle zero-length files
More refactoring
Split logging into verbose/non-verbose messages
Verbose now defaults to false