`@file_breakdown = Hash.new { |h,k| h[k] = Array.new }` saves you the conditional and double lookup at L87.