Tidy BG reading code by using list comprehensions.