commit database file