Finished code to perform filters and output files to a folder
Gonna split this over several scripts, so I'll rename this to filter_methods.py so that I know it only deals with filtering.