I don't mind this hack for now. It's local, and it can be fixed locally, without affecting other code.

What would be nice would be a standard way to specify the loading functions. That way you could even use special loading functions that just return predefined strings, or do some sort of fuzzing operations before returning data. Or generate a series of variations depending upon some predefined protocol encoded in the input filename.

That's probably for another patch, though.