> this is about the filetype icons in /core/img/filetypes, there is a svg for each png

never rely on implicit conditions!
Please add the check - THX