Fix figure_out_graph to use right filename