Suggestion:  What you have is fine but "the python way" is: It's easier to ask for forgiveness than ask for permission.

    try:
        os.remove(self.xml_file)
    except OSError:
        pass  # not critical it is removed