Client implementation. Missing file handling (reading from input.txt and
writing to an output file).