Adjusts db file