private ArrayList<FaceData> readToFaceData(String faceFile)
			throws FileNotFoundException {
		BufferedReader br = new BufferedReader(new FileReader(faceFile));

		String currentLine;
		ArrayList<FaceData> data = new ArrayList<FaceData>();

		try {
			while ((currentLine = jumpToNextImage(br)) != null) {
				String imageID = currentLine;
				int[][] matrix = new int[IMAGE_SIZE][IMAGE_SIZE];
				for (int i = 0; i < IMAGE_SIZE; i++) {
					currentLine = br.readLine();

					StringTokenizer st = new StringTokenizer(currentLine);
					int j = 0;
					while (st.hasMoreTokens()) {
						matrix[i][j] = Integer.parseInt(st.nextToken());
						j++;
					}
				}
				data.add(new FaceData(imageID, matrix));
			}
		} catch (IOException e) {
			System.err.println(e.getMessage());
		}
		return data;
	}