private void loadMap(String fileName) throws IOException {
		List<String> lines = new ArrayList<>();
		int width = 0, height = 0;
		
		BufferedReader reader = new BufferedReader(
				new FileReader("data/" + fileName + ".txt"));
		
		while (true) {
			String line = reader.readLine();
			
			// no more lines to read
			if (line == null) {
				reader.close();
				break;
			}
			
			if (!line.startsWith("!")) {
				lines.add(line);
				width = Math.max(width, line.length());
			}
		}
		height = lines.size();
		
		if (height < MIN_LINES) {
			throw new IOException("There must be at least " + MIN_LINES + " lines!");
		}
		
		initTiles(width, lines);
		
		
	}