Experimental: perform the search only when file contains the occurrence searched