Updated populateDocuments implementation to retain text rather than splitting it into a list.
Updated the document filtering algorithm:
1) Can now handle output generated from utils.populateDocuments
2) Reduced execution time by 27% -- 75 seconds to 55 seconds