First changes the file