Refactor the server
Send the file name from the client to server