this takes the serialization data and stores it in a hdf5 file, alternatively reads the data and deserializes. will be used for restarting purposes