add time in file