private static TreeMap<String, Tuple<BufferedImage, Integer>> loadTilesetFile(String tilesetFilename) {
		try {
			Scanner reader = new Scanner(new FileReader("Resources/Tilesets/" + tilesetFilename));
			TreeMap<String, Tuple<BufferedImage, Integer>> tileMap = new TreeMap<String, Tuple<BufferedImage, Integer>>();
			while(reader.hasNext()) {
				String id = reader.next();
				String tileFilename = reader.next();
				int passability = reader.nextInt(); // 1 means obstacle
				try {
					tileMap.put(id, new Tuple(ImageIO.read(new File("Resources/Tiles/" + tileFilename)), passability));
				} catch (IOException e) {
					System.out.println("MapLoader: file <" + tileFilename + "> was not found in the folder <Tiles>");
					e.printStackTrace();
				}
			}
			return tileMap;
		} catch (FileNotFoundException e) {
			System.out.println("MapLoader: file <" + tilesetFilename + "> was not found in the folder <Tilesets>");
		}
		return null;
	}