Insert body in different file formats