Add a file writer for data post processing.