Fixed newline character behaviour.

Fixed newline character behaviour.
Changed function and variable names.

Changed function and variable names.
Changed Windows newline characters by Linux newline characters.

Changed Windows newline characters by Linux newline characters.