public function index()
{
// clear all notifications whenever you hit 'files' in the navigation bar
$this->user->clearNotifications(Session::getUserId(), $this->file->table);
$pageNum = $this->request->query("page");
$this->view->renderWithLayouts(Config::get('VIEWS_PATH') . "layout/default/", Config::get('VIEWS_PATH') . 'files/index.php', ['pageNum' => $pageNum]);
}