Missed filename parameter in recursive calls of traversal
Simplified implementation of tree logger in traversal