Folder root = fromPath(path, true); // get root
root.setScanDate(new Date()); // and set current scan date
if (!root.isEmpty()) {
reporter.start(absolutePath, true);
root.clear();
} else {
reporter.start(absolutePath, false);
}
Files.walkFileTree(path, this); // populate it