remove mid file