Added client code for sending a buffer from txt file