handle error 404 by catching FileNOTFoundException

fix for #45