/**
*/
public function write($filename, Horde_Mime_Part $part)
{
global $conf, $injector;
if (filesize($filename) < intval($conf['compose']['link_attach_threshol'])) {
$factory = $injector->getInstance('IMP_Factory_ComposeAtc');
$this->_storage = new $factory->classAtc($this->_user, $this->_id);
}
$this->_storage->write($filename, $part);
}