finished initial sambinary to HDF5 conversion script