private void checkInputFile(String filename) throws FileNotFoundException, IOException {
		BufferedReader br = new BufferedReader(new FileReader(filename));
		String line, maxLine = "";
		// list of chars with code number > 255 we can ignore, use hash map for counting occurrences
		HashMap<Integer, Integer> otherChars = new HashMap<Integer, Integer>();
		while ((line = br.readLine()) != null) {
			// check chars in line
			for (int i=0; i<line.length(); i++) {
				int c = (int) line.charAt(i);
				if (c > 255) {
					if (!otherChars.keySet().contains(c)) {
						otherChars.put(c, 0);
					} else {
						otherChars.put(c, otherChars.get(c)+1);
					}
				}
			}
			// update maxLine
			if (line.length() > maxLine.length()) {
				maxLine = line;
			}
		}
		for (int i : otherChars.keySet()) {
			int x = otherChars.get(i);
			if (x > 0) {
				Log.p("Found char <" + (char) i + "> (#" + i + ") " + x + " time(s)");
			}
		}
		Log.p("Max number of characters in one line: " + maxLine.length());
		Log.p("Max line: " + maxLine);
		br.close();
	}