baseNameWithExtension

/path\to/file.1.ext -> file.1.newext