Feature/improve static handler

Improve handling of non-existing static files