Making sure we can detect either unix or windows line separators on existing file she checking what to keep during generation