converts bp file to hdf5 in serial
