recursive glob resolver

not fast, but it does the job