working example for upload from s3