add file viewer controller