add readdir example