Support for opening directories