file server thread implementation is completed