code: public static File findIcon( String name, String qualifier, File configurationDirectory ) {
  
  		// Deal with an invalid directory
  		if( configurationDirectory == null )
  			return null;
  
  		// Find the root directory
  		File root;
  		if( ! Utils.isEmptyOrWhitespaces( qualifier )) {
  			ApplicationTemplate tpl = new ApplicationTemplate( name ).version( qualifier );
  			root = ConfigurationUtils.findTemplateDirectory( tpl, configurationDirectory );
  		} else {
  			root = ConfigurationUtils.findApplicationDirectory( name, configurationDirectory );
  		}
  
  		// Find an icon in the directory
  		return IconUtils.findIcon( root );
  	}
docs: Finds the icon associated with an application template.
  @param name the application or template name
  @param qualifier the template qualifier or <code>null</code> for an application
  @param configurationDirectory the DM's configuration directory
  @return an existing file, or null if no icon was found