No need to trim in pathSpecWithSingleMaskString