adapt filename casing