Ablated Mg films with a graphite cover as photocathodes