add graph reading from file