Add code for opening and reading topics.