def METHOD_NAME(line):
    match_err = re.match(r'.*wm_gcp_pubsub_read\(\): ERROR:.*', line)
    match_warn = re.match(r'.*wm_gcp_pubsub_read\(\): WARNING: File \'\S+\' not found.*', line)
    if match_err:
        return line
    elif match_warn:
        return line
    return None