Add file merging functionality to GUI,