added filetransfer prototype