fix: outputs never sets outfile if defined.
rf: refactored automatic file name generation in base class
fix: resolved conflict
Merge pull request #574 from satra/fix/name_source

Fix/name source fix for #573