- get icons by the absolute path
- a little bit refactoring