Add ability to purge the old directory

Keeps directory from filling up