import csv


def read_tsv(cls, *input_file, quotechar=None, filedelimiter="\t",only_title=False):
    """Reads a tab separated value file."""
    lines = []
    for inputf in input_file:
        with open(inputf, "r", encoding='utf-8') as f:
            reader = csv.reader(f, delimiter=filedelimiter, quotechar=quotechar)

            for line in reader:
                if only_title:
                    lines.append(line[0])
                else:
                    lines.append(line)
        return lines