single-threaded file server