code: def file_ops(staticfied, args):
      
      destination = args.o or args.output
  
      if destination:
          with open(destination, 'w') as file:
              file.write(staticfied)
      else:
          print(staticfied)
docs: Write to stdout or a file