add readdir examples