Added extra parameter to ignore certain pre-existing files on purge