Per CR on r58358, refactor obtaining the language code from a filename into Language...