creating csv, text, octet stream files