Added a line writer