Added option to pretty_print_json method to pretty-print to a file.
Report is now written to a text file when a file is downloaded.
Changed the file_download method to write the file report to disk, rather than
simply pretty-printing it to stdout.