public static void Delete(this IFileSystemOperator fileSystemOperator, string path)
 {
     fileSystemOperator.FileOrDirectorySwitch(path,
                                              () => fileSystemOperator.DeleteFile(path),
                                              () => fileSystemOperator.DeleteDirectory(path));
 }
 public static void DeleteDirectoryOnlyIfExists(this IFileSystemOperator fileSystemOperator, string directoryPath, bool recursive = true)
 {
     fileSystemOperator.DeleteDirectory(directoryPath, recursive);
 }