public function eraseFile($path) { list($prefix, $path) = $this->filterPrefix($path); if (($fs = $this->getFilesystem($prefix)) === null) { throw new WriteException("No filesystem saved under prefix [{$prefix}]."); } $fs->eraseFile($path); }