implemented exclusion through file