Handle invalid static file exception