public @Nullable VirtualFile refreshAndFindFileByNioFile(@NotNull Path file) {
    return refreshAndFindFileByPath(file.toAbsolutePath().toString());
  }
public @Nullable VirtualFile refreshAndFindFileByNioFile(@NotNull Path file)