DEX-374 : also add a way to register an icon for a given filename