def METHOD_NAME(line, src_filter, exclude, section_parameter):
    ''' Add line to src_filter if not in exclude, obeying section filtering '''
    if section_parameter_true(section_parameter):
        for path in glob(ubxlib_dir + "/" + line, recursive=True):
            if not search(exclude, path.replace("\\", "/")):
                src_filter.append(f"+<{path}>")