Filetype, desc, icon --second try

All of the name parts need to be checked, otherwise extensionless files like README won't get their type assigned.