Cleaned up serve_static_resource()