when logging to files, add a header everytime we start