Move function for getting file extension to Utils class
Add utils test for file extension
Transform file extension to lower case for simpler comparison