compact db at startup, keep filename