database file insertion