Added hdf5 read/write support