Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Minimise the number of times that FileName() is called since each one will allocate memory and take time.