removes the temporary files