public override void Dispose()
        {
            base.Dispose();

            if (_directory != null)
            {
                _directory.Dispose();
            }
        }