private boolean[] getIgnoreQueryInfo(File file, int maxQueryNumber) {
		System.out.println("Reading query ignore file: " + file);
		boolean[] ignoreQueries = new boolean[maxQueryNumber];

		for (int i = 0; i < maxQueryNumber; i++)
			ignoreQueries[i] = false;

		try {
			BufferedReader qmReader = new BufferedReader(new InputStreamReader(
					new FileInputStream(file)));

			StringBuffer data = new StringBuffer();
			String line = null;
			while ((line = qmReader.readLine()) != null) {
				if (!line.equals("")) {
					data.append(line);
					data.append(" ");
				}
			}

			StringTokenizer st = new StringTokenizer(data.toString());
			while (st.hasMoreTokens()) {
				Integer queryNr = Integer.parseInt(st.nextToken());
				if (queryNr > 0 && queryNr <= maxQueryNumber)
					ignoreQueries[queryNr - 1] = true;
			}
			qmReader.close();
		} catch (IOException e) {
			System.err.println("Error processing query ignore file: " + file);
			System.exit(-1);
		}
		return ignoreQueries;
	}