Better configfile abstraction