BUGFIX: Check if class exists before attempting to open file

If the user has provided his own filter class, i.e. in the mysite/ directory, that should be checked before trying to open the file in the core