protected function getFiles($path) { if (!$this->getFile($path)) { return null; } //todo, create new option 'show hidden files' in user settings and depend on that $files = $this->webFilesystem->getFiles($path); return $this->prepareFiles($files); }