def look_in_file(file_name, kws):
    """reads a file and returns only the lines that contain one of the keywords"""
    with open(file_name) as f:
        return "".join(filter(lambda line: any(kw in line for kw in kws), f))