Function : Creates a logfile name, named after this script and includes the number of seconds since the Epoch.
             An optional extension can be specified to make the logfile name more meaningful regarding its purpose.
  Args     : ext - The extension to add to the log file name to indicate its purpose, i.e. ERR for error messages.
  Returns  : str.

def log_file_name(ext=False):
  """
  Function : Creates a logfile name, named after this script and includes the number of seconds since the Epoch.
             An optional extension can be specified to make the logfile name more meaningful regarding its purpose.
  Args     : ext - The extension to add to the log file name to indicate its purpose, i.e. ERR for error messages.
  Returns  : str.
  """
  script_name = os.path.splitext(os.path.basename(sys.argv[0]))[0]
  val = script_name + "_" + str(int(time.time())) + "_LOG"
  if ext:
    val += "_" + ext
  val += ".txt"
  return val