With the implementation moved to the header, it makes sense to duplicate the function in the unfortunate place where the filename is supposed to be. Part of P0265, funded by [Anonymous] and iruleatgames.