changed .txt extension to .json extension for data file