On the H-finite cohomology