Client: Factorized code
Client: Factorized code
Server: Factorized code
Client: Finished code for receiving a file
Client: Factorized code