Adding an S3 event listener to store files on S3