Optimized icon and preset file reading.