Tricks and tips from Ben Hoskings via Peepcode.
Debug / re-arrange functions.
Add file count function 'lc'.