Manager/ResourceManager.php
public function removeResourceFile(ResourceInterface $resource)
    {
        $fs = $this->getFilesystem($resource);
        try {
            $fs->delete($resource->getPath());
        } catch (FileNotFoundException $e) {
            $this->logger->warning(
                "Tried to remove missing file {$resource->getPath()} ({$resource->getOriginalFileName()})"
            );
        }
    }
public function removeResourceFile(ResourceInterface $resource)
    {
        $fs = $this->getFilesystem($resource);
        try {
            $fs->delete($resource->getPath());
        } catch (FileNotFoundException $e) {
            $this->logger->warning(
                "Tried to remove missing file {$resource->getPath()} ({$resource->getOriginalFileName()})"
            );
        }
    }
{@inheritdoc}