https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_cmds.html#//apple_ref/doc/uid/TP40000983-CH216-SW32

read ... [from ...] [using delimiters ...]で十分いけんじゃないの
あとget eof ...くらい