rename variable to be more consistent.
Extract out readEdges method to be more reusable when reading a vertex.