serve files over websockets