don't open files until after configuration