Add graph in txt files