make sure we have success before removing the input files!