rework to serve files via sinatra ws