private static @Nullable VirtualFile getFile(AnActionEvent e) {
    return RevealFileAction.findLocalFile(e.getData(CommonDataKeys.VIRTUAL_FILE));
  }
private static @Nullable VirtualFile getFile(AnActionEvent e)