How do you only delete certain parts/lines/sentences in a text file?