I'm not sure if I understand it correctly. The new line characters are required to properly read Properties file. The issue was with unescaped "space" characters in file.