The test function runs everything smoothly, I provided 2 text files as examples. As I am not an expert of JavaScript, I used NodeJs to easily open the file which contains the text for the demo, sorry ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する