dbio-compatible file class (from wq.db)