support basic file streaming via static middleware