add read graph from file