I suggest combining all of the tests of character classes into a single file with a few tests (digits, idiographics, combining chars, etc.)