Solved bug whith sorting usable classes for some file - rsort replaced with krsort, as rsort is sorting by value, not key.
Added archive file type and icon
Again correction - now the selection of the best class should be ok (It wasn't able select a item if it has not priority 0)