def METHOD_NAME(filePath, generateCmnd, outFile=None, workingDir="",
  runTwice=False, echoCmnds=False \
  ):
  openWriteFilePermissions(filePath)
  runSysCmnd(generateCmnd, outFile=outFile, workingDir=workingDir,
    echoCmndForDebugging=echoCmnds)
  if runTwice:
    runSysCmnd(generateCmnd, outFile=outFile, workingDir=workingDir,
       echoCmndForDebugging=echoCmnds)
  setGeneratedFilePermissions(filePath)