private static void createScratchFile(@NotNull String fileContent, @NotNull String fileName) throws IOException {
    ScratchFileService fileService = ScratchFileService.getInstance();
    VirtualFile scratchFile =
      fileService.findFile(RootType.findById("scratches"), fileName + ".json", ScratchFileService.Option.create_new_always);
    VfsUtil.saveText(scratchFile, fileContent);
  }
private static void createScratchFile(@NotNull String fileContent, @NotNull String fileName)