protected virtual void EnsureDirectory(string path) { path = GetFullPath(path); Directory.CreateDirectory(path); }