public static @Nullable VirtualFile urlToFile(@NotNull String urlString) {
    if (urlString.startsWith(TEMP_URL)) {
      return TempFileSystem.getInstance().findFileByPath(urlString.substring(TEMP_URL.length() - 1));
    }
    return VirtualFileManager.getInstance().findFileByUrl(FileUtil.toSystemIndependentName(replaceUnsafeSchemaStoreUrls(urlString)));
  }
public static @Nullable VirtualFile urlToFile(@NotNull String urlString)