With all of these new mega websites becoming more complex I have stumbled on a problem that I do not know how to solve best. Suppose we have a very large directory structure of 5000 or so directories. If one needs to delete every file over two weeks old what is the best way to do it? In regards to that does one use Epoch seconds (is there a better way)? Also since there will be millions of files is it best to build an array and then delete them or delete them as the program goes. Anyone have any suggestions on how to do this (perhaps some code guiding the way)? Show me the light.