Used for reading graph node and edge information from an adjacency matrix contained within a file.