Marked as work in progress
Solving recursive bug in directory iteration