Documents purge functionality