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