Code for Server and Client to send and receive files through sockets.