Add minor fixes. Add existence check for file to merge.