Move queries into zip files