#NEWLINE# def WriteFile( self , file_path , file_data , access_mode = 'wb' ) : #NEWLINE# #INDENT# 'Writes the data to file.\n\n    Args:\n      file_path: string containing the path of the file to write.\n      file_data: binary string containing the data to write.\n      access_mode: optional string containing the output file access mode.\n    ' #NEWLINE# self . _file_object = open ( file_path , access_mode ) #NEWLINE# self . _file_object . write ( file_data ) #NEWLINE# self . _file_object . close ( )