Minor detail: there is no need to save the extension, so you can just write: `name, _ = os.path.splitext(name)`. This helps a bit in keeping the addon light(er) so systems with limited resources can also run it without issues.