adjust filename ending (upper case)