Change body in different file formats