Adding template and linking controller for bucket files