show icon according to file extensions.