File upload

Properly upload the file and move to remote storage.