clean up .directory files