code: public function getFile(ResourceInterface $resource)
      {
          $fs = $this->getFilesystem($resource);
          if (!$fs->has($resource->getPath())) {
              return false;
          }
  
          return $fs->get($resource->getPath());
      }
docs: {@inheritdoc}