added restrict search to either on content or on file name, default is to search on both