'Magic constants' of carriage return were replaced by System.lineSeparator call.