So I am trying to edit a csv file by copying the data into a temporary text file, and then skipping the record that needs to be edited, and instead placing an edited record