Added possibility to read in filters. Runs, but has to be checked.