Removing end of line symbols form string read now.