add file transfer function
merge