code: def load_file(self, filename):
          
          self._say("Loading file: " + filename)
  
          fh    = codecs.open(filename, 'r', 'utf-8')
          lines = fh.readlines()
          fh.close()
  
          self._say("Parsing " + str(len(lines)) + " lines of code from " + filename)
          self._parse(filename, lines)
docs: Load and parse a RiveScript document.
  
          :param str filename: The path to a RiveScript file.