void (List<DirectoryGroup> groups) { for (DirectoryGroup group : groups) { for (Path directory : group.directories) { myLogger.info("deleting " + directory); try { NioFiles.deleteRecursively(directory); } catch (IOException e) { myLogger.info(e); } } } }