And, to crosslink to another thread, the daemon that reads from the USB key has all the code that reads data from external sources written in Lua, on the grounds that it's both more customizable and more secure than doing it in C. (Also on the grounds that the author of the daemon is extremely fond of Lua.)