create and read for couchdb file service