first version of raw2HDF5