docs: private void uploadNewVersion(final BoxFile file) {
          new Thread() {
              @Override
              public void run() {
                  try {
                      String uploadFileName = "box_logo.png";
                      InputStream uploadStream = getResources().getAssets().open(uploadFileName);
                      BoxRequestsFile.UploadNewVersion request = mFileApi.getUploadNewVersionRequest(uploadStream, file.getId());
                      final BoxFile uploadFileVersionInfo = request.send();
                      showToast("Uploaded new version of " + uploadFileVersionInfo.getName());
                  } catch (IOException e) {
                      e.printStackTrace();
                  } catch (BoxException e) {
                      e.printStackTrace();
                      showToast("Upload failed");
                  } finally {
                      mDialog.dismiss();
                  }
              }
          }.start();
      }