should be easier with a valid json file