Added ability to output filetype statistics to file in Json format
Added ability to output to Json file