@Override
        public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
          if (callback != null) callback.beforeDeleting(file);
          doDelete(file);
          return FileVisitResult.CONTINUE;
        }
@Override
        public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)