Parameterized input directory and output file for merge_contrib_data.py