Disable editting a file name if it's old.
Refactor Doc functionality into DocService.
Fix Redirect issue for single doc and for updating docs.