Serve HTML and XML files with the correct content type