refactor bulk s3 uploader