attribute based analysis stored to csv rather than txt