Moved file objects out of IndexerModule object instance - pass directly
to writeIndex method