Monitor file events on a directory subtree.

Chapter 19, exercise 1.