parsing both new and old ctype file now