dsr adapted to the new dbfile methods