Learning Lua: File I/O String Matching

Apparently iterating over the lines of a file is a super slow
process. Did some reading and now I should be ready to start
writing some code for bocce.