private int analyze(File f, Pattern specFileRegex) {
		int c = 0;
		BufferedReader reader = null;

		try {
			reader = new BufferedReader(new FileReader(f));

			String line;
			while ((line = reader.readLine()) != null) {
				if (specFileRegex.matcher(line).matches()) {
					specialLines.add(new QCLine(line, this));
				}
				c++;
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (reader != null) {
				try {
					reader.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		return c;
	}