code: public BoxFile.Info uploadFile(UploadFileCallback callback, String name) {
          FileUploadParams uploadInfo = new FileUploadParams()
                  .setUploadFileCallback(callback)
                  .setName(name);
          return this.uploadFile(uploadInfo);
      }
docs: Uploads a new file to this folder.
  
  @param callback the callback which allows file content to be written on output stream.
  @param name     the name to give the uploaded file.
  @return the uploaded file's info.