WordPress uses the uploaded file name, without the file type, as a default title. I did this mod to make it easier for people that name their media locally prior to "Add Media". If they used trailing numbers to distinguish multiple photos of the same item, the "Format Media Titles" plugin with this mod gives them a greater chance of having a correct defaut title without their editing it.
But if the uploaded media is uploaded with a DCF camera file name, typically "IMG_1234", the mod does not remove the digits. The DCF camera format has many 8 character possibilities, so I am merely testing the last 4 characters, and if found to be numeric, the title is not changed.
The mod I did is on pastebin at and I posted it in the hope it might be useful.