def read_asset_file(self, file_name):
this_dir = os.path.dirname(os.path.realpath(__file__))<EOL>asset_file = os.path.join(this_dir, '<STR_LIT>', file_name)<EOL>if not os.path.exists(asset_file):<EOL><INDENT>raise Exception('<STR_LIT>'.format(file_name, this_dir))<EOL><DEDENT>return open(asset_file).read()<EOL>
Read a file from the assets directory