add file transfer to piglet server