json file opening added