Added facility for merging files with some missing vars.