public function remove($id) { $fileId = $this->dir . DIRECTORY_SEPARATOR . sha1($id); if (file_exists($fileId)) { unlink($fileId); } }