def METHOD_NAME(self, f):
    '''Move the temporary file to the target location.'''
    if self._overwrite:
        replace_atomic(f.name, self._path)
    else:
        move_atomic(f.name, self._path)