added a writer module, still rough. no case for if file is new. no current capability to check for redundant entries