#NEWLINE# def _get_doc_data( docname ) : #NEWLINE# #INDENT# file_path = os . path . join ( os . path . dirname ( __file__ ) , 'data' , docname ) #NEWLINE# with open ( f , 'rb' ) as f : #NEWLINE# #INDENT# return json . loads ( f . read ( ) )