This makes the API return a 404 HTTP error code when the file is not found

This makes the API return a 404 HTTP error code when the file is not found