'Change the name of the file being transferred.
This replaces the file name provided by the sender.
@param filename: The new name for the file.
@type filename: L{bytes}'

def set_filename(self, filename):

    self.filename = filename
