Text this: Effect of chlorine doping on CdTe thin films