code: private FileItem getHttpImportFileItem() {
  
          FileItem result = null;
          m_htmlimport.setHttpDir("");
          // get the file item from the multipart-request
          Iterator it = getMultiPartFileItems().iterator();
          FileItem fi = null;
          while (it.hasNext()) {
              fi = (FileItem)it.next();
              if (fi.getName() != null) {
                  // found the file object, leave iteration
                  break;
              } else {
                  // this is no file object, check next item
                  continue;
              }
          }
  
          if ((fi != null) && CmsStringUtil.isNotEmptyOrWhitespaceOnly(fi.getName())) {
              result = fi;
          }
          return result;
      }
docs: Checks if a multipart-request file item exists and returns it.<p>
  
  @return <code>true</code> if a multipart-request file exists