Added basic read iterator function