enumerate check files in merged document better