add directory iterator