Can anyone help me to refactor my code to match the second code? The problem is I changed the method to use the AWS S3multipartupload and am not able to put the file in the