allowing base cfg to be a filename