def METHOD_NAME(self):
    base_path_obj = self.settings.value(
        "files/last_replay_location",
        type=str,
        defaultValue=Path("~").expanduser(),
    )
    base_path = Path(str(base_path_obj))
    file, _ = QFileDialog.getOpenFileName(
        self, caption="Open recording", dir=str(base_path)
    )
    if not file:
        return
    file = Path(file)
    self.settings.setValue("files/last_replay_location", str(file.parent))
    try:
        rec = Recording(file.as_posix())
        self.setUpdatesEnabled(False)
        navi = jps.RoutingEngine(build_jps_geometry(rec.geometry()))
        geo = Geometry(navi)
        geo.show_triangulation(self._show_triangulation.isChecked())
        trajectory = Trajectory(rec)
        tab = ReplayWidget(navi, rec, geo, trajectory, parent=self)
        tab_idx = self.tabs.insertTab(0, tab, file.name)
        self.tabs.setCurrentIndex(tab_idx)
        self.setUpdatesEnabled(True)
        self.update()
    except Exception as e:
        QMessageBox.critical(
            self,
            "Error importing simulation recording",
            f"Error importing simulation recording:\n{e}",
        )
        return