<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ReadFile(self, definitions_registry, path):
 """Reads data type definitions from a file into the registry. Args: definitions_registry (DataTypeDefinitionsRegistry):
 data type definitions registry. path (str):
 path of the file to read from. """

    with open(path, 'r') as file_object:
      self.ReadFileObject(definitions_registry, file_object)