Code adjusted for S3 file uploads only. Bug - two uploading bars appear under the file form fields.