Use J8 methods in TextFile.