This file adds documents to the database