When I took a look at the Character Downloader tool on the main page it seems to already split up characters into their own slot number. Not that I know anything about programming but it looks like maybe it wouldn't be that farfetched to ask about something like this.