protected function createFileDriver()
    {
        $path   = $this->config['files'];

        $fileSystem = Helper::getFileSystem();

        if (!$fileSystem->isDirectory($path)) {
            throw new SessionException("session path({$path}) is not exists.");
        }

        return new FileSessionHandler($fileSystem, $path);
    }