public function __construct($filename) { $data = $this->extractDataFromFilename($filename); parent::__construct($data); }