def print_normal_files(file_sizes, max_marks, total_size, fmt, args):
    """Print the lines with files that generated no errors"""
    maxsize = max(file_sizes.values()) if file_sizes.values() else 0
    for filename in file_sizes:
        file_size = file_sizes[filename]
        if maxsize != 0:
            nmarks = int((max_marks - 1) * float(file_size) / maxsize) + 1
            percentage = 100 * float(file_size) / total_size
        else:
            nmarks = max_marks
            percentage = 100.0
        if not args.nogrouping:
            file_size = '{:,}'.format(file_size)
        print(fmt.format(file_size, '%02.2f' % percentage, ''.join(['#'] *
            nmarks), filename))
