fix how the retreiveIcon function runs if an icon file exists
icon files