Make output files optional.