start parser of configuration file
parse several lines of config and start building a node tree
concatenate child path pattern with parent's
cleanup
transform the parsed tree into a list of file pattern to match
I've always been bad at parsing trees in imperative languages