A File Icon does nothing more than
PackageResourceViewer in terms of extracting the icons. If you install
A File Icon via
Package Control, it downloads
A File Icon.sublime-package file (this file is just zip with
.sublime-package extension), the plugin extracts some files (icons, syntax aliases) from it, nothing more, and only standard python stuff is used.
So, I completely agree with @facelessuser