queryPairFile gets created