Le copy config.cpp from anope.
Add overloaded ctor to MalformedConfigException to accept a file name and line number.
Do something to Configuration.GetBlock() ...