delete file and move dir