Small changes to the filetransfer class