<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def metamodel_from_file(file_name, **kwargs):
 """ 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. """

    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