Add logic to skip merging if there's only one file