Syncronize and merge files