Added getOutputFile() in writer