added exclusion file functionality