@Override
            public FileVisitResult postVisitDirectory(Path path, IOException exc) throws IOException {
                // KAFKA-8999: if there's an exception thrown previously already, we should throw it
                if (exc != null) {
                    throw exc;
                }

                Files.deleteIfExists(path);
                return FileVisitResult.CONTINUE;
            }
Recursively delete the given file/directory and any subfiles (if any exist)

@param rootFile The root file at which to begin deleting
clients/src/main/java/org/apache/kafka/common/utils/Utils.java