add HDF5, intermittent save.