public static function getInstance($file = false) { if (is_null(self::$instance)) { self::$instance = new self($file); } return self::$instance; }