adds a DirectoryDescriptor constructor that provides a default FileFactory; rafactory tests