Added functional for go into directory and back.