[NUCLEO_L053R8] Fix issue with file upper case file name

+ code cleanup
Merge pull request #332 from bcostm/master

[NUCLEO_L053R8] Fix issue with upper case file name