Multiple input paths in deduplication document