purge directories