Upload and download a file from s3