Would error handling around Dir[xxx].each do |file|  be considered beneficial?