Writing more documents that subsequently write documents

Fixing the cli so it works properly instead of erring.  Also adding force and backup options for file writing