@NotNull
  public static FilePath getFilePath(@NotNull File file, boolean isDirectory) {
    return VcsContextFactory.getInstance().createFilePathOn(file, isDirectory);
  }
@NotNull
  public static FilePath getFilePath(@NotNull File file, boolean isDirectory)