Merge same file events