adding graphs external files