enter edits the file