renamed query engine to infile tree