Chaning hdf5 tables to new file representation

Fixes #362