Attempt to prevent trashing of the db and filedb