support '../' to describe up directory