Checked whether pattern contains **, if not run normal filepath.Glob