code: public BoxFile.Info uploadLargeFile(InputStream inputStream, String fileName, long fileSize)
              throws InterruptedException, IOException {
          URL url = UPLOAD_SESSION_URL_TEMPLATE.build(this.getAPI().getBaseUploadURL());
          return new LargeFileUpload().
                  upload(this.getAPI(), this.getID(), inputStream, url, fileName, fileSize);
      }
docs: Creates a new file.
  
  @param inputStream the stream instance that contains the data.
  @param fileName    the name of the file to be created.
  @param fileSize    the size of the file that will be uploaded.
  @return the created file instance.
  @throws InterruptedException when a thread execution is interrupted.
  @throws IOException          when reading a stream throws exception.