code: def parse_raml(self):
          
          if utils.is_url(self.ramlfile):
              raml = utils.download_file(self.ramlfile)
          else:
              with codecs.open(self.ramlfile, "rb", encoding="utf-8") as raml_f:
                  raml = raml_f.read()
  
          loader = ramlfications.loads(raml)
          config = ramlfications.setup_config(self.ramlconfig)
          self.raml = ramlfications.parse_raml(loader, config)
docs: Parse RAML file