public function handleDownload($filename, $filehash)
	{
		$message = $this->cache->load($filename);
		$file = $message->attachments[$filehash];
		header("Content-Type: $file->type; charset='UTF-8'");
		header("Content-Transfer-Encoding: base64");
		header("Content-Disposition: attachment; filename=\"$file->filename\"");
		header('Content-Length: ' . strlen($file->data));
		echo base64_decode($file->data);
		exit;
	}