code:     public void cleanUp() {
          Set<String> names = files.keySet();
          for (String name : names) {
              List<FileItem> items = files.get(name);
              for (FileItem item : items) {
                  if (LOG.isDebugEnabled()) {
                      String msg = LocalizedTextUtil.findText(this.getClass(), "struts.messages.removing.file",
                              Locale.ENGLISH, "no.message.found", new Object[]{name, item});
                      LOG.debug(msg);
                  }
                  if (!item.isInMemory()) {
                      item.delete();
                  }
              }
          }
      }
  
  