Implemented newLine valid on Windows and Linux.