Added file output to client