read text from file and add to file