Add wrapper for managing output files.