Call toString on each line before inserting