Check current directory.