Defining LUA functions

Is there a file or somewhere on the device where I can store useful LUA routines I might want to re-use in various scenes. I’m all about the code re-use!

Can be done along these lines:

http://forum.micasaverde.com/index.php/topic,29627.msg209898.html#msg209898