@Nullable
  private static VirtualFile fileToVirtualFileWithRefresh(@Nullable File file) {
    if (file == null) return null;
    return WriteAction.computeAndWait(() -> VfsUtil.findFileByIoFile(file, true));
  }
@Nullable
  private static VirtualFile fileToVirtualFileWithRefresh(@Nullable File file)