Sure.  Where should it live?
And yes, the "internal" method being to read the filename from the config.