Implement S3 upload functions