Generic Class to write line-wise from a text file. given an object conforming to a parsing strategy, it updates the output file