def convert(write_to_file = true)
      strings = {}
      keys = nil
      comments = {}

      @filenames.each do |fname|
        header = fname
        strings[header], file_comments = load_strings(fname)
        keys ||= strings[header].keys
        comments.merge!(file_comments) unless file_comments.nil?
      end

      if write_to_file
        # Create csv file
        puts "Creating #{@csv_filename}"
        create_csv_file(keys, strings, comments)
      else
        return keys, strings
      end
    end
def convert(write_to_file = true)
      strings = {}
      keys = nil
      comments = {}

      @filenames.each do |fname|
        header = fname
        strings[header], file_comments = load_strings(fname)
        keys ||= strings[header].keys
        comments.merge!(file_comments) unless file_comments.nil?
      end

      if write_to_file
        # Create csv file
        puts "Creating #{@csv_filename}"
        create_csv_file(keys, strings, comments)
      else
        return keys, strings
      end
    end
Process files and create csv

 @param [Boolean] write_to_file create or not the csv file
 @return [Hash] the translations formatted if write_to_file