Throwing 404 error when file doesn't exist

Throwing 404 error when file doesn't exist