add context into the text file