def METHOD_NAME(self, palette):
    _, maya_extension = os.path.splitext(current_file())
    xgen_file = current_file().replace(
        maya_extension,
        "__{}.xgen".format(palette.replace("|", "").replace(":", "__"))
    )
    xgd_file = xgen_file.replace(".xgen", ".xgd")
    return xgen_file, xgd_file