Using command - DirManager class