docs: private static void deleteOldAndEmptyFiles() {
              File dir = LOG_FILE_DIR;
              if (dir.exists()) {
                  File[] files = dir.listFiles();
  
                  for (File f : files) {
                      if (f.length() == 0 ||
                              f.lastModified() + MAXFILEAGE < System.currentTimeMillis()) {
                          f.delete();
                      }
                  }
              }
          }