added file parsing functionality to json_test.cc