[NUCLEO_L053R8] Fix issue with upper case file name

+ code cleanup