public static function displayFilename (FtpFile $file, FtpWidget $context) {
		if ($context->allowNavigation && self::isDir($file)) {
			$dir = $context->baseFolder."/".$file->filename;
			if ($context->baseFolder == "/") {
				$dir = "/".$file->filename;
			}
			if ($file->filename == '..') {
				$dir = str_replace('\\', '/', dirname($context->baseFolder));
			}
			$arr = array_merge([""], $_GET, [$context->navKey => $dir]);
			return \yii\helpers\Html::a($file->filename, $arr);
		} else {
			return $file->filename;
		}
	}