add file suffixes .txt and .bin to ascii and binary outputs resepectively