private function fclose() {
            if ($this->fp && is_resource($this->fp) && !is_resource($this->config->savePath)) {
                fclose($this->fp);
            }

            return $this;
        }