moved code to class DbgviewReader