Fixed new line char issue

Added stip() to remove '/n' from the lines