genPath