import json


def parse_logs(file_name):
    """Read the timing logs out of the log file."""
    data = []
    with open(file_name) as f:
        for line in f:
            entry = json.loads(line)
            if 'phase' in entry and entry['phase'] == 'Test':
                continue
            if 'time' in entry:
                data.append(entry)
    return data