[files] add private declaration of $view