base class for readers which needs to write to files. output option with variable mapping append option?