Fixed issue: Extention file and type to lowercase