docs: private void deleteRecursive(final File file) {
          if (file.isDirectory()) {
              final String[] files = file.list();
              if (files != null) {
                  for (String name : files) {
                      deleteRecursive(new File(file, name));
                  }
              }
          }
  
          if (!file.delete()) {
              ControllerLogger.ROOT_LOGGER.cannotDeleteFileOrDirectory(file);
          }
      }