Glob now only takes pattern

Implemented LongestRoot.