added csv tool for sorting out substrings