Added maskPath()