function toHAR($filename = false)
{
if ($filename) {
$this->watch->Log->ExportHAR($filename);
return file_exists($filename);
}
$filename = tempnam('/tmp', 'watchmenowimgoindown');
$this->watch->Log->ExportHAR($filename);
return file_get_contents($filename);
}