simplify-path

use stack