Added possibility to load the graph from the file at the start of the app