delete middle files