def METHOD_NAME(self, tempfn):
    #imfn = self.get_image_path()
    #wfn = self.get_weight_path()
    #os.rename(imfn + '.tmp', imfn)
    #os.rename(wfn + '.tmp', wfn)
    fn = self.get_imw_path()
    os.rename(tempfn, fn)