def download(self):
directory, name = os.path.split(self.path)<EOL>return send_from_directory(directory, name, as_attachment=True)<EOL>
Get a Flask's send_file Response object pointing to this file.

:returns: Response object as returned by flask's send_file
:rtype: flask.Response