find discrete columns in attribute file