private function writeFile($fileName, $value, $expires) {
        FS::mkDir(dirname($fileName));
        file_put_contents($fileName, serialize($value));

        // TODO: http://phpdevblog.niknovo.com/2009/11/serialize-vs-var-export-vs-json-encode.html
        return true;
    }