Adding \n at the end of the flag file with the date