delete dir and a delete file sharing the same position