public function __construct($fileName)
{
parent::__construct();
$this->fileName = $fileName;
try {
$this->fileHandle = new \SplFileObject($fileName, 'c+');
$this->fileHandle->setFlags(\SplFileObject::READ_CSV);
$this->fileHandle->setCsvControl(self::CSV_DELIMITER, self::CSV_SEPARATOR);
} catch (\Exception $exception) {
throw new PinqException('Invalid cache file: %s is not readable with the message, "%s"', $fileName, $exception->getMessage());
}
$this->fileName = $fileName;
}