search file using hash optimized in case of many hash conditions and or predicates