Add support for subclasses specifying a constant filename