def METHOD_NAME(
    target: list[tuple[str, str]],
    file_list: list[tuple[str, str]],
) -> None:
    for key, file_name in file_list:
        with Path(file_name).open("rt") as file_handle:
            for line in file_handle:
                line = line.strip()
                if not line:
                    continue
                target.append((key, format_like_bids(line)))