def METHOD_NAME(self, pathname):
    def unescaped(filename):
        OS_NAME = platform.system()
        if OS_NAME == "Windows":
            newstring = filename.replace("&", "&&")
        else:
            newstring = filename.replace("&", "&&")
        return newstring
    kernel = self.context.kernel
    try:
        # Reset to standard tool
        self.context("tool none\n")
        info = _("Loading File...") + "\n" + unescaped(pathname)
        kernel.busyinfo.start(msg=info)
        self.context.elements.METHOD_NAME(
            pathname,
            channel=self.context.channel("load"),
            svg_ppi=self.context.elements.svg_ppi,
        )
        kernel.busyinfo.end()
        return True
    except BadFileError as e:
        dlg = wx.MessageDialog(
            None,
            str(e),
            _("File is Malformed"),
            wx.OK | wx.ICON_WARNING,
        )
        dlg.ShowModal()
        dlg.Destroy()
    return False