added parameter for the JSON file