def _adjust_template(filepath, translate):
    """
    Search and replace contents of a filepath.

    Parameters
    ----------
    filepath : str
    translate : dict
    """
    with open(filepath, 'r') as file:
        filedata = file.read()

    filedata = _multiple_replace(filedata, translate)

    with open(filepath, 'w') as file:
        file.write(filedata)
Search and replace contents of a filepath.

    Parameters
    ----------
    filepath : str
    translate : dict