for (ZFolder child : folder.getSubFolders()) { doDumpFolder(child, verbose, recurse);
if (recurse) { for (ZFolder child : folder.getSubFolders()) { doDumpFolder(child, verbose, recurse); }
    private void doDumpFolder(ZFolder folder, boolean verbose, boolean recurse) {        if (verbose) {            System.out.println(folder);        } else {            System.out.println(folder.getPath());        }        for (ZFolder child : folder.getSubFolders()) {            doDumpFolder(child, verbose, recurse);        }    }