public static @NotNull @NlsSafe String getReadableUrl(@NotNull VirtualFile file) {
    String url = null;
    if (file.isInLocalFileSystem()) {
      url = file.getPresentableUrl();
    }
    if (url == null) {
      url = file.getUrl();
    }
    return url;
  }
public static @NotNull @NlsSafe String getReadableUrl(@NotNull VirtualFile file)