pathSpecWithString: for *.smt masks