uploads a json file with a simple line
minimum changes to adjust eh file upload function