Scenario:
Annie is a full-stack developer working on the MEAN stack set of technologies. She is current working on a knowledge sharing web application where users can post articles, read and comment on articles posted by others.
In the current sprint, she is developing a REST API using express. The application has to handie incoming requests from Angular client for performing CRUD operations on the mongoDB database.
Given the requirements, help Annie overcome the challenges she is facing
Question
For one of the routes "igetauthors, the response must be a json file named "authors json" Which of the below functions should Annie use to serve the file?