protected function setDBdat()
    {
        if (is_null($this->dbdat)) {
            $this->logger->debug(sprintf("db: open file: %s", $this->path));
            $this->dbdat = new \SQLite3($this->path, SQLITE3_OPEN_READONLY);
        }
    }