added option to exclude files + icon image when not an image file