Fixed possible bug where user did not select CCD file first.