removes old files in a list of directories