Rename mergeDir to mergeDir.r