iterate now correctly follows sub directories