Arranged to show messages of entering/exiting a directory.