use json.parse and read file