Added 404 error handling if file doesn't exists