use async eachSeries for looping through files.