Add a (settable) threshold for the minimum number of files that will invoke a search box.