Tries to move around directories.