simplifypath.cc added