Middleware for serving static files