OBJ parsing: extracted parsing of lines to method