changes the file