Added support for writing output to file (close #90)

Implemented CLI argument --report for specifying a file location to which the formatter output will be written.
I think we can just do `callback(result)` here