FWIW I gleaned this from nimrod.py which does do the glob thing.