adding sending of file from server to client