Added a helper to serve files efficiently