use the handle not the queryfile string