Use Filter in merge
Merge was looping explicitly. It's better to use filter.
Make Output Directories Customizable
The output directories are split into two options. The caller must supply
at least one of them.
Remove Merge Method
The merge method was simple enough that the code can just exist inline
in the one place it is called.