With front light units being so rare, and getting brittle with age, I find a combination of the advice given by Luke and radioMarty works best.
Remove the bulb holder first , then reach under the nose of the c5 and gently squeeze the retaining lugs together to remove the light unit.
As radioMarty says, be careful as the lugs tend to snap off..