Set sli filetype based on extension.