Parse json from file.