finalize controller for static files