code: public void setFile(InputStream inputStream, String filename, long fileSize) {
          this.setFile(inputStream, filename);
          this.fileSize = fileSize;
      }
docs: Sets the file contents of this request.
  @param inputStream a stream containing the file contents.
  @param filename    the name of the file.
  @param fileSize    the size of the file.