Clean directory with db