added date to file