use "core" use "lib/os.nom" for %path in (=lua "arg"): for file %filename in %path: say ((parse (read file %filename) from %filename) as nomsu)