first working version of splitting save info into separate documents