make pages folder iteration