handle the appending of any EOL format using newline