Refactored filetransfer into filesender, filereceiver, filetransfer