public function loadFile($file_path) { if (!$this->isFileReady($file_path)) { return false; } return $this->parseDOM(simplexml_load_file($file_path)); }