rewritten and corrected detection of nonlogical symbols in CLIF files