Add a function to serve files