var array=['sun','mon','tue']
sync.fiber(
function(){
for (i=0;i<array.length;i++)
{
console.log(sync.await(readFile(array[i],'utf8',sync.defer()))) //does only sunday
}
var i=0
while (i<array.length)
{
console.log(sync.await(readFile(array[i],'utf8',sync.defer()))) //does all days
i++
}
})