def readlines(file_):
    """Return a list of lines read from `file_`
    
    Clean the lines a bit before returning them.
    Note:
        It actually returns a generator of these lines.
    """
    with open(file_, 'r') as f:
        log_lines = (line.lower().strip() for line in f.readlines())
        return log_lines