code: def output_before_run(self, run):
          
          # output in terminal
          runSet = run.runSet
          try:
              OutputHandler.print_lock.acquire()
  
              try:
                  runSet.started_runs += 1
              except AttributeError:
                  runSet.started_runs = 1
  
              timeStr = time.strftime("%H:%M:%S", time.localtime()) + "   "
              progressIndicator = " ({0}/{1})".format(runSet.started_runs, len(runSet.runs))
              terminalTitle = TERMINAL_TITLE.format(runSet.full_name + progressIndicator)
              if self.benchmark.num_of_threads == 1:
                  util.printOut(terminalTitle + timeStr + self.format_sourcefile_name(run.identifier, runSet), '')
              else:
                  util.printOut(terminalTitle + timeStr + "starting   " + self.format_sourcefile_name(run.identifier, runSet))
          finally:
              OutputHandler.print_lock.release()
docs: The method output_before_run() prints the name of a file to terminal.
          It returns the name of the logfile.
          @param run: a Run object