original_string: private function parseFile($file)
      {
          try {
              $dom = XmlUtils::loadFile($file, __DIR__.'/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd');
          } catch (\Exception $e) {
              throw new MappingException($e->getMessage(), $e->getCode(), $e);
          }
  
          return simplexml_import_dom($dom);
      }
code: private function parseFile($file)
      {
          try {
              $dom = XmlUtils::loadFile($file, __DIR__.'/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd');
          } catch (\Exception $e) {
              throw new MappingException($e->getMessage(), $e->getCode(), $e);
          }
  
          return simplexml_import_dom($dom);
      }
code_tokens: private function parseFile ( $ file ) { try { $ dom = XmlUtils :: loadFile ( $ file , __DIR__ . '/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd' ) ; } catch ( \ Exception $ e ) { throw new MappingException ( $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e ) ; } return simplexml_import_dom ( $ dom ) ; }
docstring: Parses a XML File.
  
  @param string $file Path of file
  
  @return \SimpleXMLElement
  
  @throws MappingException
docstring_tokens: Parses a XML File .