edit the file