allow limitted number of files globed by the given pattern