readdir --> readdirSync