Added eachFile helper