Adds GET for single documents.
Fixes file read write errors