<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    xmlns:browser="http://namespaces.zope.org/browser"
    i18n_domain="plone.namedfile">

    <browser:page
        name="download"
        for="*"
        class=".browser.Download"
        permission="zope2.View"
        />
    
    <browser:page
        name="display-file"
        for="*"
        class=".browser.DisplayFile"
        permission="zope2.View"
        />
    
    <include zcml:condition="installed z3c.blobfile" file="z3c-blobfile.zcml" />
    <include zcml:condition="installed plone.supermodel" file="handler.zcml" />
    <include zcml:condition="installed plone.rfc822" file="marshaler.zcml" />
    <include zcml:condition="installed plone.schemaeditor" file="editor.zcml" />
    <include zcml:condition="installed plone.scale" file="scaling.zcml" />

</configure>
