public static void SetCurrentDirectory(string path)
 {
     if (_provider == null)
     {
         Directory.SetCurrentDirectory(path);
     }
     else
     {
         _provider.SetCurrentDirectory(path);
     }
 }