Why acyclic holds

Imagine starting at Root and following the contents relation. Suppose you found a cyclic path and followed it. At some point, you will encounter a directory which you have already visited.

Thus a cycle cannot exist.