def _output(logger, file_id, lines, prefixes):
    if lines:
        for line in lines:
            if not prefixes.get(file_id, [None])[0]:
                logger.log(line)
            else:
                logger.log(
                    '%s %s',
                    logger.style('[{}]'.format(prefixes[file_id][0]), fg=prefixes[file_id][1]),
                    line,
                )


# A liberal estimate of a line size.  Used to estimate how much data
# we need to fetch from a file when we want to read N lines.
Prints a sequence of lines.
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/files.py/_output