protected function commonGetFileInfo(string $file, string $path, string $cabin)
{
list($publicPath, $root) = $this->loadCommonData($path, $cabin);
if (empty($root)) {
$fileInfo = $this->files->getFileInfo($cabin, null, $file);
} else {
$fileInfo = $this->files->getFileInfo($cabin, $root, $file);
}
$this->lens('files/info', ['cabins' => $this->getCabinNamespaces(), 'file' => $fileInfo, 'root_dir' => $this->root_dir, 'all_dirs' => $this->files->getDirectoryTree($cabin, $this->root_dir), 'dir' => $path, 'cabin' => $cabin, 'pathinfo' => $publicPath]);
}