updated to error if exclude file not present