title: Flask appending HTML to a static served file
body: <p>Hopefully this will be an easy question for someone with more experience in Flask than me. I'm serving a static file, and I just want to append some HTML to it, or have the file served below some text. Is there any way to do this or am I approaching it the wrong way?</p>
  <pre><code>@app.route('/compile/&lt;filename&gt;')
  def uploaded_file(filename):
      return *(Random HTML here)* + send_from_directory(app.config['UPLOAD_FOLDER'], filename)
  </code></pre>
  <p>Everything I try creates an error and I can't find anything else dealing with this problem. I thought about maybe printing the file from an HTML template but it gave me an error when I try to upload the file. Any help would be greatly appreciated.</p>