public function actionIndex() { $models = File::find()->all(); return $this->render('index', ['models' => $models]); }