public function useFileDriver(string $dir): self
    {
        $this->setDriver(new \BearFramework\App\FileDataDriver($dir));
        return $this;
    }
public function useFileDriver(string $dir): self
    {
        $this->setDriver(new \BearFramework\App\FileDataDriver($dir));
        return $this;
    }
public function useFileDriver ( string $ dir ) : self { $ this -> setDriver ( new \ BearFramework \ App \ FileDataDriver ( $ dir ) ) ; return $ this ; }
Enables the file data driver using the directory specified.

@param string $dir The directory used for file storage.
@return self Returns a reference to itself.
Enables the file data driver using the directory specified .