Updated Client.cpp

Added the state transitions, reading from file, and sending file
packets.