docs: public static boolean deleteDir(File dirFile) {
          if (!dirFile.exists()) {
              return false;
          }
  
          if (dirFile.isFile()) {
              return dirFile.delete();
          } else {
              File[] files = dirFile.listFiles();
              if (files == null || files.length == 0) {
                  return dirFile.delete();
              }
              for (File file : files) {
                  deleteDir(file);
              }
          }
  
          return dirFile.delete();
      }