Code for opening and transfering a file in chunks.
Create a new process for each new incoming connection.