how to add the phtml using xml magento 2
<referenceContainer name="after.body.start">
<block class="Magento\Framework\View\Element\Template"
name="custom.file"
before="-"
template="Magento_Theme::html/custom.phtml"
/>
</referenceContainer>