Support for flat directories.