properly take quantifiers into account (cf. my Ph.D. thesis, Section 6.4.1) and offer three modes of completeness (for experiments mostly)
theory ToyList_Test
imports Main
begin
ML {*
let val text =
map (File.read o Path.append (Resources.master_directory @{theory}) o Path.explode)
["ToyList1.txt", "ToyList2.txt"]
|> implode
in Thy_Info.script_thy Position.start text @{theory} end
*}
end