purge path dir