why didn't you write the same class "Writer" for outputFile?