(6) Add page and file actions to controller