inserting database file