Create simplifyPath