public static GameObject getGameObjectFromFile(String filePath) {
		Document doc = getDoc(filePath);
		final String type = doc.getDocumentElement().getNodeName();
		switch (type) {
		case "item":
			return getItem(doc);
		case "mob":
			return getMob(doc);
		case "player":
			return getPlayer(doc);
		default:
			System.out.println("Invalid type in " + filePath + " - " + type);
			return null;
		}
	}