Add timestamp to file