@Override
  protected void doRevert(File toFile, File backupFile) throws IOException {
    if (myInPlace) {
      if (!Files.exists(toFile.toPath()) || isModified(toFile)) {
        if (backupFile.exists()) {
          Utils.copy(backupFile, toFile, true);
        }
        else {
          // the file didn't exist in the original installation (probably meaning it is corrupted, but still we restore the original state)
          Utils.delete(toFile);
        }
      }
    }
    else {
      Utils.delete(toFile);
    }
  }
@Override
  protected void doRevert(File toFile, File backupFile)