#NEWLINE# def get_template( filename , **kwargs ) : #NEWLINE# #INDENT# with open ( os . path . join ( dirname , filename ) ) as fd : #NEWLINE# #INDENT# data = fd . read ( ) #NEWLINE# data = data . format ( ** filename ) #NEWLINE# #UNINDENT# return data