private void writeBody() throws IOException{
        for(Family f:familes){
            fp.push("\t<family id='"+f.automatedRecordId+"'>\n");
            writeIndividual(f.husband,"husband");
            writeIndividual(f.wife,"wife");
            writeIndividus(f.children,"children","child");
            fp.push("\t</family>\n");
        }
    }