Changed \r\n to System.lineSeparator()