protected function writeFile($filename, $value)
    {
        try {
            FileSystemUtils::safeFilePutContents($filename, serialize($value));
            return true;
        } catch (Exception $e)
        {
            return false;
        }
    }