We need to be able to convert between raw and hdf5 and provide an option du select the default format.