def wrap_file(environ, file, buffer_size=8192):
    return environ.get('wsgi.file_wrapper', FileWrapper)(file, buffer_size)
Wraps a file.  This uses the WSGI server's file wrapper if available
dataset/ETHPy150Open pecan/pecan/pecan/middleware/static.py/wrap_file