added icon file exists check