def METHOD_NAME(self, filename, context=None):
    """Return paths to dependencies for the template loaded from filename."""
    with io.open(filename, 'r', encoding='utf-8-sig') as fd:
        text = fd.read()
    return self.get_string_deps(text, context)