protected function evaluateFile(FileInterface $file) {
    $uri = $file->getFileUri();
    $scheme = $this->fileSystem->uriScheme($uri);
    return !empty($this->configuration['filesystems'][$scheme]);
  }