Giving up websockets, using files