Changing method name to getJSONFromFileSync