def METHOD_NAME(input_file: Path, output_file: Path, transforms: dict):
    """reads input_file and writes output_file, swapping text listed in the
    transformations dict
    Parameters
    ----------
    input_file: str
        template file to read
    output_file: str
        file to write
    transformations: Dict[str, str]
        dict of search and replacement strings
    """
    input_file = Path(input_file)
    output_file = Path(output_file)
    template = input_file.read_text()
    for find, replace in transforms.items():
        template = template.replace(find, replace)
    output_file.write_text(template)