queries stored in file