add data directory (which is ignored)
template uses TextFragment