Reworked document list

Adding in processing code.