code: public static String getFolderName(String name, String cfid, boolean addExtension) {
  	if (addExtension) return getFolderName(name, cfid, false) + ".scpt";
  	if (!StringUtil.isEmpty(name)) name = encode(name);// StringUtil.toVariableName(StringUtil.toLowerCase(name));
  	else name = "__empty__";
  	return name + "/" + cfid.substring(0, 2) + "/" + cfid.substring(2);
      }
docs: return a folder name that match given input
  
  @param name
  @param cfid
  @param addExtension
  @return