Made further changes to filetransfer.