Add function to go up from a directory