protected function parse($path) { $output = file_get_contents($path); $output = explode("\n", $output); $output = array_map('rtrim', $output); return $output; }