pub fn scan(root: &Path) -> Result<BTreeMap<String, Group>>
Walk root and group every file into units.
root