this returns an alphabetoc ordered list of paths, the first match will win. is alphabetic ordering the best we can do? (is it even relevant?)