public function fileState($attribute)
    {
        $state = Yii::$app->session->get(Yii::$app->fileManager->sessionName);
        return ArrayHelper::getValue($state === null ? [] : $state, $attribute, []);
    }