Local directory cleaning