#NEWLINE# def template_file( filename , vars = None , env = None , dirs = None , loader = None , layout = None , **kwargs ) : #NEWLINE# #INDENT# if ( not loader ) : #NEWLINE# #INDENT# loader = Loader ( vars , ** kwargs ) #NEWLINE# #UNINDENT# return loader . load ( filename , layout = layout ) . generate ( vars , env )