added counting of contiguous alphabetical filenames on char