Always initalize the field currentTime and gather records only when logging to file is activated