code: def metamodel_from_file(file_name, **kwargs):
      
      with codecs.open(file_name, 'r', 'utf-8') as f:
          lang_desc = f.read()
  
      metamodel = metamodel_from_str(lang_desc=lang_desc,
                                     file_name=file_name,
                                     **kwargs)
  
      return metamodel
docs: Creates new metamodel from the given file.
  
      Args:
          file_name(str): The name of the file with textX language description.
          other params: See metamodel_from_str.