add timestamp to file