procedure ExpandForWildCards()