Fix the HDF5 file issues and add the tao stats