created a middleware that uses MCCS to serve static files