with database file