protected function loadMappingFile($file) { try { return Yaml::parse(file_get_contents($file)); } catch (ParseException $e) { $e->setParsedFile($file); throw $e; } }