Revert "Revert "修复文件读取bug 修正为按行获取""

This reverts commit 7ec2c9f323680fac33591b03e719ed4820b780b1.