The fact that directory is optional should be also reflected in the runtime - XSD schemas. File binding should still require the directory element. The tooling JIRA is SWITCHYARD-2405.