Added handling when db finished initializing
removed files from tracking