As a generalization of the facet ideal of a forest, we define monomial ideal of forest type, and show that monomial ideals of forest type are pretty clean. As a consequence we show that if $I$ is a monomial ideal of forest type in the polynomial ring $S$, then Stanley's conjecture holds for $S/I$. The other main result of this article shows that a clutter is totally balanced if and only if it has the free vertex property and which is also equivalent to say that its edge ideal is a monomial ideal of forest .type or is generated by an M sequence