I'm writing a technical documentation which should describe in a short sentence that I'm trying to find all groups of files from a set of files where all files within a group share a common (but unspecific) name. I don't know which of the following sentences states this correctly (if any):
- I'm searching for files with same name.
- I'm searching for files with same names.
- I'm searching for files with the same name.
- I'm searching for files with the same names.
In my non-native English ears options 2 and 3 sound more correct than the others, but I'm not sure about it.
The closest comparison that I found on the web is this one:
having the same name
47,600 results on the web
having the same names
2,690 results on the web
However, "having the same names" sounds most strange to me anyway and this comparison doesn't cover all of my variants.
Which of the options that I listed above is/are the (most) correct one(s)?