from pathlib import Path


def get_template_file(engine, template_name):
    """Get template path."""
    template_path = Path(engine.__name__.replace(".", "/"))
    template_file = template_path / template_name
    return template_file