adding option to exclude files from upload_to_s3