upload file to cloud storage.