Forgot to commit this.
Removed collections from file writer.  Each collection now knows how to write itself.