added content_type and file_size to _s3_upload