Save and load wavepackets from arbitrary datablocks