build the predicate in filereadingcollector