original_docstring: 
      clean up left over files, proxies from last init
      very very bad implementation
      
docstring: clean up left over files, proxies from last init
  very very bad implementation
docstring_tokens: clean up left over files proxies from last init very very bad implementation
code: def cleanup_leftover(args):
      """
      clean up left over files, proxies from last init
      very very bad implementation
      """
      running_logger.info('Clean up leftover files and proxies')
  
      # clean up files
      for f in os.listdir('./'):
          if re.search(r'para|.*trace', f):
              os.remove(os.path.join('./', f))
  
      # clean up proxies
      if not args.noappium:
          term_by_port(args.appium_port)
          term_by_port(args.appium_back_port)
          term_by_port(args.appium_system_port)
      term_by_port(args.proxy_port)
  
      logging.root.handlers = []
code_tokens: def cleanup_leftover ( args ) : running_logger . info ( 'Clean up leftover files and proxies' ) for f in os . listdir ( './' ) : if re . search ( r'para|.*trace' , f ) : os . remove ( os . path . join ( './' , f ) ) if not args . noappium : term_by_port ( args . appium_port ) term_by_port ( args . appium_back_port ) term_by_port ( args . appium_system_port ) term_by_port ( args . proxy_port ) logging . root . handlers = [ ]
short_docstring: clean up left over files, proxies from last init
  very very bad implementation
short_docstring_tokens: clean up left over files proxies from last init very very bad implementation
comment: """
      clean up left over files, proxies from last init
      very very bad implementation
      """$SEP$# clean up files$SEP$# clean up proxies