added folder reading