add a demo for file transfer between server and client