didl protocolInfo into optional array
Read directory tree as specified in config

make it a bit more useful. No need to specify each file to export
in code.