Added the possibility to upload files to an S3 bucket