protected function fileDetails($path)
{
$path = '/' . ltrim($path, '/');
return ['name' => basename($path), 'fullPath' => $path, 'webPath' => $this->fileWebpath($path), 'mimeType' => $this->fileMimeType($path), 'size' => $this->fileSize($path), 'modified' => $this->fileModified($path)];
}