Also init db if db filesize is 0