added an ability for API to serve a static file on GET request