example for ensuring line presence and prepending or appending if not there