def to_disk
      mkdir
      @hash.each do |key, value|
        File.open(filename(key), 'w') { |file| file.write(value.to_yaml) }
      end
    end
def to_disk
      mkdir
      @hash.each do |key, value|
        File.open(filename(key), 'w') { |file| file.write(value.to_yaml) }
      end
    end
This method smells of :reek:NestedIterators