File transfer works, however it's strange that self.inputData still has stuff left over (seems like a part of the file name) after the file itself has been transfered.