(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other "[")} {(KW_Bang "!")} {(-f)} {(secret_file)} {(Lit_Other "]")})
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (C {(echo)} {(DQ (" ** creating random encryption file in ./secret_file"))})
            (C {(touch)} {(secret_file)})
            (C {(chmod)} {(600)} {(secret_file)})
            (Pipeline
              children: [
                (C {(openssl)} {(rand)} {(-base64)} {(512)})
                (SimpleCommand
                  words: [{(tr)} {(-d)} {(SQ <"\\r\\n">)}]
                  redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(secret_file)} spids:[57])]
                )
              ]
              negated: False
            )
          ]
          spids: [-1 17]
        )
      ]
      else_action: [(C {(echo)} {(DQ (" ** ./secret_file already exists"))})]
      spids: [61 70]
    )
  ]
)