Adds or removes text to the beginning and/or end of each line in a text file.