code: public static File findTemplateDirectory( ApplicationTemplate tpl, File configurationDirectory ) {
  
  		StringBuilder sb = new StringBuilder( TEMPLATES );
  		sb.append( "/" );
  		sb.append( tpl.getName());
  		if( ! Utils.isEmptyOrWhitespaces( tpl.getVersion())) {
  			sb.append( " - " );
  			sb.append( tpl.getVersion());
  		}
  
  		return new File( configurationDirectory, sb.toString());
  	}
docs: Finds the directory that contains the files for an application template.
  @param tpl an application template
  @param configurationDirectory the DM's configuration directory
  @return a non-null file that should point to a directory