File should be a valid JSON