docs: private void writeHttpImportDir(FileItem fi) throws CmsException {
  
          try {
  
              if ((fi != null) && CmsStringUtil.isNotEmptyOrWhitespaceOnly(fi.getName())) {
                  //write the file in the tmp-directory of the system
                  byte[] content = fi.get();
                  File importFile = File.createTempFile("import_html", ".zip");
                  //write the content in the tmp file
                  FileOutputStream fileOutput = new FileOutputStream(importFile.getAbsolutePath());
                  fileOutput.write(content);
                  fileOutput.close();
                  fi.delete();
                  m_htmlimport.setHttpDir(importFile.getAbsolutePath());
              }
          } catch (Exception e) {
              throw new CmsException(Messages.get().container(Messages.ERR_ACTION_ZIPFILE_UPLOAD_0));
          }
      }