Replaced readallof example with better code after I had slept on it.

Fixed up tabs.