Read attributes of h5 file