convert smi to txt file