refine whitelist and blacklist, more accurate glob comparison

separate out recursive filepath accumulation from processing