Deal with the db file.