code: public static HttpsFileUploaderResult upload(
              HttpsFileUploaderConfig config,
              File uploadFile) throws IOException {
          
          return upload(
                  config, 
                  Collections.singletonList(new UploadItemFile(uploadFile)), 
                  null, 
                  null);
      }
docs: Uploads a file. This is a convenience method of the more general
  {@link #upload(com.addicticks.net.httpsupload.HttpsFileUploaderConfig, java.util.List, java.util.Map, com.addicticks.net.httpsupload.UploadProgress) upload(...)} method.
  This method only uploads a single file and expects the destination field for
  the file on the server to be named {@code "file"}. The MIME type of the
  file will be guessed from <code>uploadFile</code> argument using
  {@link java.net.URLConnection#guessContentTypeFromName(java.lang.String) URLConnection#guessContentTypeFromName()}.
  If this fails, {@link #DEFAULT_MIME_TYPE} will be used.
  
  <p>After the method returns the result should be examined for errors.
  
  @see #upload(com.addicticks.net.httpsupload.HttpsFileUploaderConfig, java.util.List, java.util.Map, com.addicticks.net.httpsupload.UploadProgress)
  @param config configuration for the connection.
  @param uploadFile file to upload
  @return result of the upload operation
  
  @throws IOException if the endpoint cannot be reached or if input file cannot be
  read.