add an endpoint to retrieve job data from its directory.
make required corrections to view job outputs.