delete an middle stage file