Changed newline to use system independent newline