Updated static files handler