def METHOD_NAME(template):
    """Returns the template."""
    template_path = current_app.config.get('REPORT_TEMPLATE_PATH')
    template_code = Path(f'{template_path}{template}').read_text()
    return Template(template_code)