added LineWriter to use time based partitino output.