refactoring of CmisDirectory