introducing doc_slice_prep.rs and file_append_slice, removed file_append_json.rs and resulting refactoring