Modified filter_and_clean.py to apply MADAMIRA on the full file at once, rather than per individual file in the document