Added Read folder function