Code to upload file to cloud-file-store during upload.