Support for processing a directory.