@Override
	public void handleFile(File file) {
		if (getProcessMode() == MODE_BIG_CHUNK) {
			inspectContents(file, FileTools.readFileToString(file, lineEnding));
		} else if (getProcessMode() == MODE_ARRAYS) {
			ArrayList lines = new ArrayList();
			ArrayList lineEndings = new ArrayList();
			FileTools.readFileToArrayOfLines(file, getOpenEncoding(), lines, lineEndings);
			inspectContents(file, lines, lineEndings);
		} else {
			System.out.println("Error: Unknown process mode.");
		}
	}