Path cleaning, directory cleaning