public function eraseFile($path)
{
try {
$this->fs->update($path, '');
return;
} catch (Error $ex) {
} catch (Exception $ex) {
}
throw new WriteException("File {$path} could not be erased.", $ex);
}