add listfiles to main document