def METHOD_NAME(new_file: Path, lines: List[str]) -> None:
    new_absolute = new_file.absolute()
    new_absolute.parent.mkdir(exist_ok=True, parents=True)
    with open(new_absolute, "w") as f:
        for line in lines:
            f.write(line)