Add a date to the end of the specified file