Added function to merge the best solutions from two files into a single file.