part read from excel and write to txt