Working convertor

without log and get to txt