Applies a glob pattern to a set of files *after* excluding specific subfolders