Modified to accept color lut files in the cpd directory.