Used splitlines() when importing CSV to make sure universal newline is used.