Logparser can pull lastwritetime, and supports recursion. You might be able to use it for the files. Delete them, and then work on the empty directory problem ...