added INTO OUTFILE option in makequery method