fix for globs that feature trailing ** to match all the way to the file
fix for globs that feature trailing ** to match all the way to the file