Update factory to specify icon file type