validate JSON file path