private static void unlockFiles(@NotNull List<? extends Path> files) {
    for (Path file : files) {
      try {
        NioFiles.setReadOnly(file, false);
      }
      catch (IOException e) {
        LOG.error(e);
      }
    }
  }
private static void unlockFiles(@NotNull List<? extends Path> files)