Changes to allow deleting files older than x days