handle error 404 by catching FileNOTFoundException

fixe for #45