add code to handle uploading a single file