code: public function listContents($directory = '', $recursive = false)
      {
          $files = $this->container->files()->withPrefix($directory)->get();
          $result = $this->transformFiles($files);
  
          return $result;
      }
docs: {@inheritdoc}