Edit text file.