Completed Input parsing and merging into parameter file