Update handling of static files