Write entries to file

newEntry now writes entries to file. Multiple entries not yet
implemented, entry overwrites previous.