Added ability to parse a file and return JSON