protected function clearBusyFile() { $path = $this->getCacheDirectory() . $this->getId() . '.busy'; // remove the file $filesystem = new Filesystem(); $filesystem->remove($path); }