3-n queries file