def METHOD_NAME(self, file, path):
    file.writeObject(self.filename, path + "/filename")
    file.writeObject(self.cycleHistory, path + "/cycleHistory")
    file.writeObject(self.timeHistory, path + "/timeHistory")
    file.writeObject(self.sampleHistory, path + "/sampleHistory")
    file.write(self.nodeFlags, path + "/nodeFlags")
    return