def upload(aFile)
      #ensure_bucket()
			logger.debug "Uploading #{aFile} to S3 bucket #{config[:bucket]} ..."
			logger.info "Uploading #{File.basename(aFile)} to S3 bucket #{config[:bucket]} ..."
			s3client.upload_backup(aFile,config[:bucket],File.basename(aFile))
    end
def upload(aFile)
      #ensure_bucket()
			logger.debug "Uploading #{aFile} to S3 bucket #{config[:bucket]} ..."
			logger.info "Uploading #{File.basename(aFile)} to S3 bucket #{config[:bucket]} ..."
			s3client.upload_backup(aFile,config[:bucket],File.basename(aFile))
    end
uploads the given file to the current bucket as its basename