private Point loadMap(final File level) {
		Scanner scanner = null;

		try {
			scanner = new Scanner(level);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
			System.exit(-1);
		}

		Point entryPoint = null;
		for (int row = 0; row < roomHeight; row++) {
			for (int col = 0; col < roomWidth; col++) {
				if (!scanner.hasNext())
					throw new IllegalArgumentException(
							"given text file too small");
				blocks[row][col] = new Block(x + (col * blockSize), y
					+ (row * blockSize), blockSize, blockSize,
					scanner.nextInt());
			}
			if (entryPoint == null
					&& blocks[row][0].getType() == TILE_TYPE.PATH) {
				entryPoint = new Point(blocks[row][0].x, blocks[row][0].y);
			}
		}
		if (entryPoint == null)
			throw new IllegalArgumentException(
					"Map has no entry point on first column");

		if (scanner.hasNext())
			throw new IllegalArgumentException("Map too big");

		scanner.close();
		return entryPoint;
	}