remove a temporary file