@Nullable
  public VirtualFile getScratchVirtualFile() {
    final String url = getScratchFileUrl();
    return url == null ? null : VirtualFileManager.getInstance().findFileByUrl(url);
  }
@Nullable
  public VirtualFile getScratchVirtualFile()