Refactor the createNewLineCharacter method to appendNewLineCharacter.
Refactor: use user specified delimiter.