Edit body in different file formats