implemented DirectoryManager