change the first line of the file