DocParser reads in layout and substitutes layout placeholders with content from contentfiles