Now writes dedipsered data to h5file.