database directory and init file