simplify-path.py