The scenario accepts documents via a form or a request, checks the file size and type, computes a content fingerprint and keeps duplicates out of the database.