public static MatchSaveData load(String filePath) throws IOException, ClassNotFoundException {
		ObjectInputStream objectInputStream = new ObjectInputStream(new FileInputStream(filePath));
		Object loadedObject = objectInputStream.readObject();
		
		objectInputStream.close();
		
		if (loadedObject instanceof MatchSaveData) {
			return (MatchSaveData) loadedObject;
		} else {
			throw new IOException("The loaded file doesn't seem to contain Tics game data.");
		}
		
	}