handle db files