S3 file upload patch applied