code: protected static void recursiveWipe (File file, boolean wipeMe)
      {
          if (file.isDirectory()) {
              File[] files = file.listFiles();
              if (files != null) {
                  for (int ii = 0; ii < files.length; ii++) {
                      recursiveWipe(files[ii], true);
                  }
              }
          }
          if (wipeMe) {
              if (!file.delete()) {
                  log.warning("Failed to delete " + file + ".");
              }
          }
      }
docs: Helper function.