Parser for CTX files