code: def submit_and_render():
      
      data = request.files.file
      template = env.get_template("results.html")
      if not data:
          pass
      results = analyse_pcap(data.file, data.filename)
      results.update(base)
      return template.render(results)
docs: Blocking POST handler for file submission.
      Runs snort on supplied file and returns results as rendered html.