add read from HDF5 files method