switch dbfile to camelcase
check if dbfile exists and initialize if it doesn't