private bool DirectoryExist(IActivityIOPath dir) { bool result = Directory.Exists(dir.Path); return result; }