public function listItems($path)
{
try {
$items = array();
foreach ($this->storage->listItems($path) as $file) {
$items[] = $this->fetchMetadata("{$path}/{$file}");
}
return $items;
} catch (\InvalidArgumentException $e) {
throw new \InvalidArgumentException(sprintf("'%s' not found", $path), $e->getCode(), $e);
}
}