def write
      @lines = []
      @lines << csv_keys

      file_snapshots.each do |filename, snapshots|
        snapshots.each { |base| base_to_subjects(base, filename) }
      end

      File.open(@output_path, 'w') { |f| f.write(@lines.join(LINE_SEPERATOR)) }
    end
def write
      @lines = []
      @lines << csv_keys

      file_snapshots.each do |filename, snapshots|
        snapshots.each { |base| base_to_subjects(base, filename) }
      end

      File.open(@output_path, 'w') { |f| f.write(@lines.join(LINE_SEPERATOR)) }
    end
Write