delete the no use of mid files.