added Exists to IDirectory and impl