public function __construct($filename = null) { if ($filename !== null) { $this->fromFile($filename); } }