Walk files using glob rules and transform paths with patterns