Ion-assisted laser processing of CNx films