Rename .txt file to .json file